module.exports = {
  presets: [
    '@babel/preset-env',
    [
      '@babel/preset-react',
      {
        corejs: 2,
        useBuiltIns: 'usage',
        loose: true,
        modules: false
      },
    ],
  ],
  plugins: [
    [ '@babel/plugin-transform-modules-commonjs' ]
  ]
};
